@include b(resource-schedule-tree) {
  display: flex;
  flex-direction: column;

  @include e(hearder) {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding-bottom: getCssVar(spacing, tight);
    border-bottom: 1px solid getCssVar(color, border);

    @include m(left) {
      min-width: 0;
      padding-left: getCssVar(spacing, base);
      overflow: hidden;
      font-size: getCssVar(font-size, header-5);
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    @include m(right) {
      display: flex;
      flex-shrink: 0;
    }
  }

  @include e(search-bar) {
    display: flex;
    justify-content: end;
    .#{bem(control-searchbar-quick-search)} {
      width: auto;
      min-width: 160px;
      max-width: 220px;
    }
  }

  @include e(tree) {
    &.el-tree {
      flex-grow: 1;
      padding: getCssVar(spacing, tight) getCssVar(spacing, base);
      overflow: auto;
    }
  }

  @include e(search-form) {
    flex-shrink: 0;
    height: auto;
    padding: 0 getCssVar(spacing, base-tight);
  }

  @include e(drag-ghost) {
    position: fixed;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    max-width: 250px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    pointer-events: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgb(0 0 0 / 30%);
    opacity: 0.9;
    transition:
      transform 0.05s linear,
      background 0.2s ease,
      opacity 0.2s ease;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
  }
}
